/*************************************************************************
 * File Name:    test_conf.cc
 * Author:       zero91
 * Mail:         jianzhang9102@gmail.com
 * Created Time: Fri 12 Jul 2013 12:19:21 AM CST
 * 
 * Description:  
 ************************************************************************/

#include <iostream>
#include <fstream>
#include <sstream>
#include <algorithm>
#include <vector>
#include <queue>
#include <stack>
#include <deque>
#include <map>
#include <set>
#include <functional>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cctype>
#include <cmath>
#include "configure.h"

using namespace std;

int
main(int argc, char *argv[])
{
    Configure conf("test.conf", '=');

    string name = "name";
    string age = "age";
    string height= "height";

    cout << conf["name"] << endl;
    cout << conf["age"] << endl;
    cout << conf["height"] << endl;

    cout << conf[name] << endl;
    cout << conf[age] << endl;
    cout << conf[height] << endl;

    return 0;
}

